package cc.bluemc.platform.annotation.fieldFormart;

import cc.bluemc.platform.annotation.executerConfig.ExecuterConfig;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
 * 字段格式化<br>
 * eg:	<br>
 * <span>@FieldFormart(value="{true:'男',false:'女'}")<br>
	private boolean gender;<span>
 * @author Administrator
 *
 */
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@ExecuterConfig(value=FieldFormartExecter.class)
public @interface FieldFormart {
	String value() default "";
	Class<?> clazz() default Void.class;
	String method() default"";
	Class<?> [] paramsType() default {} ;
}
